[]
data.ISemanticMessageQueue
• dequeue: () => SemanticMessage
▸ (): SemanticMessage
• enqueue: (message
: SemanticMessage
) => void
▸ (message
): void
名称 | 类型 |
---|---|
message |
SemanticMessage |
void
• isEmpty: () => boolean
▸ (): boolean
boolean
• peek: (predicate
: (message
: SemanticMessage
) => boolean
) => SemanticMessage
▸ (predicate
): SemanticMessage
名称 | 类型 |
---|---|
predicate |
(message : SemanticMessage ) => boolean |